package bean;

import javax.xml.crypto.Data;
import java.util.Date;

public class user_info {
    private int uinfoid;
    private String rname;
    private String gender;
    private String phoneNumber;
    private Date inductionTime;
    private String address;
    private double salary;

    public user_info(){}
    public user_info(int uinfoid, String rname, String gender, String phoneNumber, Date inductionTime, String address, double salary) {
        this.uinfoid = uinfoid;
        this.rname = rname;
        this.gender = gender;
        this.phoneNumber = phoneNumber;
        this.inductionTime = inductionTime;
        this.address = address;
        this.salary = salary;
    }

    public int getUinfoid() {
        return uinfoid;
    }

    public void setUinfoid(int uinfoid) {
        this.uinfoid = uinfoid;
    }

    public String getRname() {
        return rname;
    }

    public void setRname(String rname) {
        this.rname = rname;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public Date getInductionTime() {
        return inductionTime;
    }

    public void setInductionTime(Date inductionTime) {
        this.inductionTime = inductionTime;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public double getSalary() {
        return salary;
    }

    public void setSalary(double salary) {
        this.salary = salary;
    }

    @Override
    public String toString() {
        return "user_info{" +
                "uinfoid=" + uinfoid +
                ", rname='" + rname + '\'' +
                ", gender='" + gender + '\'' +
                ", phoneNumber='" + phoneNumber + '\'' +
                ", inductionTime=" + inductionTime +
                ", address='" + address + '\'' +
                ", salary=" + salary +
                '}';
    }
}
